package com.microbroadcast.resource;

import java.util.Date;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="Location")
public class Location {
	private long locationID;
	private String locationDescription;
	private String address;
	private float longitude;
	private float latitude;
	private Date createAt;
	private String city;
	private String province;
	private String country;

	public Location(){}
	public Location(long locationID, String locationDescription,
			String address, float longitude, float latitude, Date createAt,
			String city, String province, String country) {
		super();
		this.locationID = locationID;
		this.locationDescription = locationDescription;
		this.address = address;
		this.longitude = longitude;
		this.latitude = latitude;
		this.createAt = createAt;
		this.city = city;
		this.province = province;
		this.country = country;
	}

	@XmlElement(name="LocationID")
	public long getLocationID() {
		return locationID;
	}

	public void setLocationID(long locationID) {
		this.locationID = locationID;
	}

	@XmlElement(name="LocationDescription")
	public String getLocationDescription() {
		return locationDescription;
	}

	public void setLocationDescription(String locationDescription) {
		this.locationDescription = locationDescription;
	}

	@XmlElement(name="LocationAddress")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@XmlElement(name="Longitude")
	public float getLongitude() {
		return longitude;
	}

	public void setLongitude(float longitude) {
		this.longitude = longitude;
	}

	@XmlElement(name="Latitude")
	public float getLatitude() {
		return latitude;
	}

	public void setLatitude(float latitude) {
		this.latitude = latitude;
	}

	@XmlElement(name="CreateAt")
	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	@XmlElement(name="City")
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@XmlElement(name="Province")
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@XmlElement(name="Country")
	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

}
